DATABASE_CONFIG = {
    "host": "192.168.122.102",
    # "host": "localhost",
    "port": 3306,
    "user": "root",
    "password": "123456",
    "database": "student_system"
}

DATABASE_URL = (f"mysql://{DATABASE_CONFIG['user']}:"
                f"{DATABASE_CONFIG['password']}@{DATABASE_CONFIG['host']}:"
                f"{DATABASE_CONFIG['port']}/{DATABASE_CONFIG['database']}")

if __name__ == '__main__':
    print(DATABASE_URL)